Interface Router

All Superinterfaces:
CiscoDevice, Device, IPCObject
All Known Subinterfaces:
WirelessRouter
All Known Implementing Classes:
RouterImpl, WirelessRouterImpl

public interface Router extends CiscoDevice
Information provided by the PKI file:

    \class Router
    
    \brief Router is the base class for all router devices.
    
    \example network().getDevice("Router0")
    
Author:
Auto-generated
  • Method Details

    • addSubInt

      boolean addSubInt(String portName, int subIntNum)
      Information provided by the PKI file:
      
          \brief Adds a subinterface to the specified port.
          
          \param portName,    portName can be one of the following plus a port number where appropriate:
          Console, Aux, Ethernet, FastEthernet, GigabitEthernet,
          Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async.
          Example: FastEthernet0/0
          \param subIntNum, the subinterface number.
          
              
      Parameters:
      portName - Takes in a parameter of portName
      subIntNum - Takes in a parameter of subIntNum
      Returns:
      boolean Returns a boolean
    • removeSubInt

      boolean removeSubInt(String portName)
      Information provided by the PKI file:
      
          \brief Removes the subinterface from the specified port.
          
          \param portName,    portName can be one of the following plus a port number where appropriate:
          Console, Aux, Ethernet, FastEthernet, GigabitEthernet,
          Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async.
          Example: FastEthernet0/0
          
              
      Parameters:
      portName - Takes in a parameter of portName
      Returns:
      boolean Returns a boolean
    • changePortEncapsulation

      boolean changePortEncapsulation(String portname, String encapsulationType)
      Information provided by the PKI file:
      
          \brief Changes the encapsulation on the specified port.
          
          \param portName,    portName can be one of the following plus a port number where appropriate:
          Console, Aux, Ethernet, FastEthernet, GigabitEthernet,
          Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async.
          Example: FastEthernet0/0
          \param encapsulationType,   the encapsulation type.
          Encapsulation types: hdlc, ppp, frameRelay, arpa, dot1Q
          
          \return bool, true if successful, otherwise false.
          
              
      Parameters:
      portname - Takes in a parameter of portname
      encapsulationType - Takes in a parameter of encapsulationType
      Returns:
      boolean Returns a boolean
    • addUserPass

      void addUserPass(String username, String password, int type)
      Information provided by the PKI file:
      
          \brief Adds a user account.
          
          \param username, the username.
          \param password, the password.
          \param int, the type.
          
              
      Parameters:
      username - Takes in a parameter of username
      password - Takes in a parameter of password
      type - Takes in a parameter of type
    • removeUserPass

      void removeUserPass(String username)
      Information provided by the PKI file:
      
          \brief Removes the specified user account.
          
          \param username, the username of interest.
          
              
      Parameters:
      username - Takes in a parameter of username
    • getUserPass

      String getUserPass(String username)
      Information provided by the PKI file:
      
          \brief Returns the password of the specified username.
          
          \param username, the username of interest.
          
          \return string, the password of the specified username.
          
              
      Parameters:
      username - Takes in a parameter of username
      Returns:
      String Returns a String
    • getUserPassCount

      int getUserPassCount()
      Information provided by the PKI file:
      
          \brief Returns the number of user accounts.
          
          \return int, the number of user accounts.
          
              
      Specified by:
      getUserPassCount in interface CiscoDevice
      Returns:
      int Returns a int
    • getClassMapManager

      ClassMapManager getClassMapManager()
      Information provided by the PKI file:
      
          \brief Returns the class map manager.
          
          \return ClassMapManager, the ClassMapManager object.
          
              
      Returns:
      ClassMapManager Returns a ClassMapManager
    • getPolicyMapManager

      PolicyMapManager getPolicyMapManager()
      Information provided by the PKI file:
      
          \brief Returns the policy map manager.
          
          \return PolicyMapManager, the PolicyMapManager object.
          
              
      Returns:
      PolicyMapManager Returns a PolicyMapManager
    • getParameterMapManager

      ParameterMapManager getParameterMapManager()
      Information provided by the PKI file:
      
          \brief Returns the parameter map manager.
          
          \return ParameterMapManager, the ParameterMapManager object.
          
              
      Returns:
      ParameterMapManager Returns a ParameterMapManager
    • getNetflowMonitorManager

      FlowMonitorManager getNetflowMonitorManager()
      Information provided by the PKI file:
      
          \brief Returns the flow monitor manager.
          
          \return FlowMonitorManager, the FlowMonitorManager object.
          
              
      Returns:
      FlowMonitorManager Returns a FlowMonitorManager
    • getNetflowRecordManager

      FlowRecordManager getNetflowRecordManager()
      Information provided by the PKI file:
      
          \brief Returns the flow record manager.
          
          \return FlowRecordManager, the FlowRecordManager object.
          
              
      Returns:
      FlowRecordManager Returns a FlowRecordManager
    • getNetflowExporterManager

      NFExporterManager getNetflowExporterManager()
      Information provided by the PKI file:
      
          \brief Returns the NetFlow exporter manager.
          
          \return NFExporterManager, the NFExporterManager object.
          
              
      Returns:
      NFExporterManager Returns a NFExporterManager